#!/bin/python3
import sys
import requests

url = "http://prom.so.qihoo.net:8000/api/mail/mail"
payload = {
  "tousers": sys.argv[1].split(","),
  "title": "基础资源监控报警",
  "content": sys.argv[2]
}

# 暂时不发邮件报警，大家都腻了
print(payload)
# response = requests.post(url, data=payload, timeout=30)
# print(response.json())
